<template>
    <div>
        <my-table :data-source="dataSource">
            <template #id="{ id }">
                
            </template>
        </my-table>
    </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from "vue-property-decorator";

@Component({    
    components: {
        MyTable: () => import("./Table/Table.vue"),
        MyColumns: () => import("./Table/Columns.vue"),
    }
})
export default class EasyTable extends Vue {
    @Prop() public columns!: { title: string; dataIndex: string | symbol }[];
    @Prop() public dataSource!: Object[];
}
</script>